package practice06;

/**
 * @author Administrator
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: practice06
 * @ClassName: Test
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/12/9 11:21
 * @Copyright 大牛版板所有
 */
public class Test {
    public static void main(String[] args) {
        Student s = new Student("张三","男",18,4123006,"机械设计","2013年9月");
        String st = s.toString();
        System.out.println(st);
        Teacher teacher = new Teacher("王芸","女",30,1011005,9000,
                "机械设计制造学院","P5");
        String t = teacher.toString();
        System.out.println(t);
    }
}
